const common: Record<string, any> = {
  ctaContractAddress: "0x798e4BC1FBe5eb8E4Ee33BFc6d88f04a799179E9",
  sctaContractAddress: "0x22372D72a98dB78B41B4CF68070c97910739FB86",
  stakingContractAddress: "0x42716DfFA331C8501E8910Dc4ade070Ef2F38ad1",
  stakingVestContractAddress: "0x1eF1d2f55Ae9281De38ec3f01A2f44e1a30De5C1",
  defaultInviteAddress: "0x7244209926b354aFaa31401EB302Ab50710D3698",
  projectId: "57ac78aacac89ff2011722a7b71ea6ce",
  usdtContractAddress: "0x55d398326f99059fF775485246999027B3197955",
  bonds90ContractAddress: "0x548BFf6AF2660E3f605bcA0C20b4b953eE4f191a",
  bonds180ContractAddress: "0x1205641D3e867E50dEd85e7a11a2E40BBB1f7966",
  bonds360ContractAddress: "0x2258F5142d79BBDD04D62c1D745ee65836A7D851",
};
const productionConfig: Record<string, any> = {
  id: 56,
  rpcUrls: ["https://bsc.blockrazor.xyz"],
  communityAddress: "0x996748b1f3a21ea7d6d143aab5f6dbdc7eb2b24f",
};
const testConfig: Record<string, any> = {
  id: 97,
  rpcUrls: ["https://api.zan.top/bsc-testnet"],
  communityAddress: "0xa1546D8B81a6a0bc92FfbD6c2871d6301BE614A6",
};
export function useConfig() {
  const bscConfig = import.meta.env.MODE === "production" ? productionConfig : testConfig;
  return Object.assign({}, common, bscConfig);
}
